Quick Notes - How to Upload Your Project

These are some quick notes on how to upload your project. This is chapter two of the walkthrough of how to do your final project.

Make sure your files are ready to upload

I am going to assume that you have followed the instructions in the first chapter, and have created a folder on your desktop with three files in it.

Do not start this process for uploading until you are sure that you have correctly made your folder and files.

The folder is called "joe-student-final-project". You will of course use your own name and not "Joe Student".

The files are called "index.html", "attractions.html", "contact.html". Each of these files has a correct name and they are all located inside the folder "joe-student-final-project".

Double check that you have all of this done. Find the folder, double click on it and check that the files are there.

Make sure you do not have any spaces in the names of your files or folder.

If anything does not look right, go back and fix it.

OK, we are ready to start.

Open Command Window

From the start menu (lower right hand corner of the screen) click on the first menu choice, which is "Search". In the search box type "cmd". A black box will come up. This is the command window. Inside it, you can type commands.

Go to your folder

We have created a folder, let's move to that area of the disk.

Type

   cd desktop
   cd joe-student-final-project

That should get you to the right place.

Just to make sure, type

   dir

You should see a list of your files. There should be three of them.

Do not go to the next step until you have success here.

Start FTP and Connect to the Server

Type the following command

   ftp www.brandx.net

The computer will come back and ask for your username and password. Type them in in the usual way.

If you are successfully logged in, you can go to the next step.

Create a folder on the server

We are going to run a command on the server to create a folder. You need a folder on the server so that your files don't get mixed up with the files from other students. Their files have the same names so if they get mixed up it's going to be a mess.

   mkdir joe_student_final_project

Note that there are no spaces and everything is lower case.

After you have made a folder you should be able to type "ls" to see a list of files, and the folder should come up in that list.

Do not go to the next step until you are sure you have successfully created a folder on the server.

Change folders on the server

Type the following command:

   cd joe_student_final_project

Make sure this works before you go any further!

Upload your files

This part is easy. Type the following command

   mput *

The computer will come back and ask you to confirm each files before it uploads.

Type "y" or do whatever it says.

Verify that you have successfully uploaded the files

There are two ways to do this.

First, verify the list of files on the server by typing "ls". You should see the files you expect.

Second, go to the web browser and see if you can see your files. They may be empty files but you should at least be able to see the names.

The next time your work on your site

Remember you only need to create the folder once. If you come back to upload files again, you can skip the step about creating a folder. All the other steps remain the same.